-
Notifications
You must be signed in to change notification settings - Fork 84
Add --disable-session-crashed-bubble #2321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
#2311 (comment) For development focused browser launches it's typically not useful to get extra warnings that the previous session crashed. Add a flag to disable the startup bubble and treat separate launches as independent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request adds the --disable-session-crashed-bubble flag when launching Chrome to prevent the 'session crashed' warning, which is a nice improvement for development workflows. The implementation is straightforward and correct. I've left one minor suggestion to fix a typo in a comment for better readability.
| // browsing but are applicable for use in dev-focused workflows. | ||
| '--test-type', | ||
| // Dev runs of the browser should be considered independent of one | ||
| // anothers, don't announce when the previous session crashed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a small typo in the comment. "anothers" should be "another". Fixing this improves readability.
| // anothers, don't announce when the previous session crashed. | |
| // another, don't announce when the previous session crashed. |
References
- The style guide states to "Optimize for readability - code is read more often than it is written.". Correcting typos improves readability. (link)
Package publishing
Documentation at https://github.com/dart-lang/ecosystem/wiki/Publishing-automation. |
PR HealthLicense Headers ✔️
All source files should start with a license header. Unrelated files missing license headers
This check can be disabled by tagging the PR with API leaks ✔️The following packages contain symbols visible in the public API, but not exported by the library. Export these symbols or remove them from your publicly visible API.
This check can be disabled by tagging the PR with Breaking changes ✔️
This check can be disabled by tagging the PR with Unused Dependencies ✔️
For details on how to fix these, see dependency_validator. This check can be disabled by tagging the PR with Coverage ✔️
This check for test coverage is informational (issues shown here will not fail the PR). This check can be disabled by tagging the PR with Changelog Entry ✔️
Changes to files need to be accounted for in their respective changelogs. This check can be disabled by tagging the PR with |
#2311 (comment)
For development focused browser launches it's typically not useful to
get extra warnings that the previous session crashed. Add a flag to
disable the startup bubble and treat separate launches as independent.